{include file="header" /}
<div class="main" style="position: relative;">
    <div class="w1200">
        <div class="content newsPage">
            <div class="content-left-new">
                <!--S 文章列表-->
                <ul class="list">
                    {php}
                    $offset=($page-1)*50;
                    $limit="$offset,50";
                    {/php}
                    {yzn module="cms" action="lists" modelid='1' order="listorder ASC" limit="$limit" return="data"}
                    {volist name="data" id="vo"}
                    <li class="link-item clearfix">
                        <div class="link-area clearfix">
                            <a class="common-matching-con fl">
                                <img class="matching image-scale" src="{$vo.thumb}" href="{$vo.href}">
                            </a>
                            <div class="link-info-con fl">
                                <div class="link-detail">
                                    <div class="link-mark clearfix">
                                        <a class="topic-con fl clearfix">
                                            <img class="topic-icon fl" src="__IMG_PATH__/topic_icon.png">
                                            <span class="fl">{$vo.tags}</span>
                                        </a>
                                    </div>
                                    {if condition="($vo['paytype'] == 1) AND ($vo['readpoint'] > 0) "} 
                                        <a class="link-title" href="{$vo.url}" target="_blank">{$vo.title}</a>
                                        <div class="link-from"></div>
                                        <div class="link-des">{$vo.description|str_cut=###,20}</div>
                                        <div class="operate-author-con clearfix">
                                            <a class="shoufei" href="{$vo.url}" > 付费阅读 </a>
                                        </div>
                                    {else /}
                                        <a class="link-title" href="{$vo.url}" target="_blank">{$vo.title}</a>
                                        <div class="link-from"></div>
                                        <div class="link-des">{$vo.description|str_cut=###,20}</div>
                                        <div class="operate-author-con clearfix">
                                            <div class="author-con fl clearfix"></div>
                                            <div class="operate-con fr clearfix"></div>
                                        </div>
                                    {/if}
                                </div>
                            </div> 
                        </div>
                    </li>
                    {/volist}
                    {/yzn}
                </ul>
                <!--E 文章列表-->
            </div>
            {include file="sider_right" /}
        </div>
    </div>
</div>
<script type="text/javascript">
$(function() {
    $(document).on("click", ".btn-loadmore", function() {
        var that = this;
        var page = parseInt($(this).data("page"));
        page++;
        $(that).prop("disabled", true);
        $.ajax({
            url: post_url,
            type: "post",
            success: function(res) {
                $('.list').append(res.data);
                $(that).remove();
                return false;
            },
        });
        return false;
    })
});
</script>
{include file="footer" /}